"use strict"

const express = require('express');
//调框架路由
const accountRouter = express.Router();

const path = require('path')
//引入控制器
const accountCtrl= require(path.join(__dirname,'../controllers/accountController.js'))
//路由请求路径,是login。就执行这个控制器的逻辑
accountRouter.get('/login',accountCtrl.getLoginPage)
//暴露接口
module.exports=accountRouter;